<script src="//huanrunxiaodai.oss-cn-shanghai.aliyuncs.com/json_file/<%= datafile %>" ></script>
<!--[if lte IE 9]>
<script src="../../js/polyfill.min.js" ></script>
<![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<script src="../../js/app.min.js"></script>
<!--<![endif]-->

<script>
    $(function(){
         if(g.getCookie("l")==1)
        {
            if(window.location.href.indexOf("login.html")!=-1)
            {
                g.go("/index.html")
            }
            else {
                $(".wt-login-con").hide();
                $(".wt-menu-reg-btn").hide();
                $(".wt-menu-logout-btn").show();

                if(g.getCookie("gender")==12)
                    $(".wt-header-boy").removeClass("wt-header-boy").addClass("wt-header-girl");
                $(".wt-menu-userinfo").html(g.getCookie("mobile")+"你好");
                $(".wt-menu-login-btn").hide();
                $(".wt-login-mobile").text(g.getCookie("mobile"));
                $(".wt-login-username").text(g.getCookie("userName"));


                $(".wt-userinfo-con").show();

            }
        }

    })
</script>